package me.chan.apple;

public class AppleColorFormat implements AppleFormatter {

	@Override
	public String accept(Apple apple) {
		String color = "green".equals(apple.getColor()) ? "green" : "red";
		return "The color of the given apple is " + color ;
	}

	
}
